package com.share.admin.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2022-09-25
 */
@Data
@Accessors(chain = true)
@TableName("tc_dictionary")
public class Dictionary implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "g_code")
    private String gCode;
    /**
     * 分组key值-唯一
     */
    private String code;
    /**
     * 值
     */
    private String value;
    /**
     * 名字
     */
    private String name;

    /**
     * 扩展
     */
    private String extend;
    private Integer sort;
    private String descrip;
    /**
     * 状态:0无效,1有效
     */
    private String status;
    @TableField(value = "create_time")
    private Date createTime;

}
